/**
 * @(#) Barman.java
 */

package TheRestaurantOwner;

public class Barman extends Employee
{
	public Barman( )
	{
		trainingCost = 1200;
	}
	
	public int getSalary( ) {
		// If the level of experience is low, the salary per week for a barman is 300 euros.
		// If the level of experience is medium, the salary for a barman is 400 euros.
		// If the level of experience is high, the salary for a barman is 500 euros.
		switch (getExperience()){
		case low:
			return 300;
		case medium:
			return 400;
		case high:
			return 500;
		}
		return 0;
	}
}
